package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 车辆类型对象 tb_car_type
 * 
 * @author ruoyi
 * @date 2023-06-25
 */
public class TbCarType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车辆类型ID */
    private Long carTypeId;

    /** 类型编码 */
    @Excel(name = "类型编码")
    private String carTypeCode;

    /** 车辆类型 */
    @Excel(name = "车辆类型")
    private String carTypeName;

    public void setCarTypeId(Long carTypeId) 
    {
        this.carTypeId = carTypeId;
    }

    public Long getCarTypeId() 
    {
        return carTypeId;
    }
    public void setCarTypeCode(String carTypeCode) 
    {
        this.carTypeCode = carTypeCode;
    }

    public String getCarTypeCode() 
    {
        return carTypeCode;
    }
    public void setCarTypeName(String carTypeName) 
    {
        this.carTypeName = carTypeName;
    }

    public String getCarTypeName() 
    {
        return carTypeName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("carTypeId", getCarTypeId())
            .append("carTypeCode", getCarTypeCode())
            .append("carTypeName", getCarTypeName())
            .toString();
    }
}
